<%@ include file="/includes/taglibs.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="com.cq.xjms.model.Student"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/common.css" type="text/css" />
<title>左侧导航栏</title>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
	function outlook() 
	{ 
		this.changeSecondMenu = changeSecondMenu;
	} 
	var outlookbar=new outlook();
	function changeSecondMenu(menuId){
		$("#right_main_nav div").hide();
		$("#menu"+menuId).show();
	}
	function gotoUrl(url,title){
		window.top.frames['manFrame'].window.location.href=url;
		window.top.frames['tagFrame'].window.setTitle(title);
	}
	
	function  loginout(){ 
      window.parent.location='logout.action';
     }
	
</script>
<%
	Object obj = request.getSession().getAttribute("login_student");
	String name = null;
	if(obj!=null && obj instanceof Student){
		name = ((Student)obj).getName();
	}
 %>
</head>
<body >
  <div id="left_content">
	<div id="user_info">
		欢迎您，<strong><%=name %></strong> <br/>
		[<!--<a href="#"></a>， --><a href="javascript:changeframe('个人信息详情', '系统管理', 'student/index.action')">个人信息</a>, <a href="###" onclick="loginout();">退出</a>]
	</div>
	<div id="main_nav">
		<div id="right_main_nav">
			<div id="menu0" class="list_detail" >
				<ul>
			       <li  class="bg_image" onclick="gotoUrl('queryStudent.action','个人信息')">个人信息</li>
			       <li  class="bg_image" onclick="gotoUrl('updatePassword.action','修改密码')">修改密码</li>
			       <li  class="bg_image" onclick="gotoUrl('queryStudentScore.action','成绩列表')">成绩列表</li>
			       <li  class="bg_image" onclick="gotoUrl('queryStudentCourse.action','课程列表')">课程列表</li>
			       <li  class="bg_image" onclick="gotoUrl('studentChoiceCourse.action','学生选课')">学生选课</li>
			       <li  class="bg_image" onclick="gotoUrl('noPassCourse.action','补考科目')">未通过科目</li>
				</ul>
			</div>
			
		</div>
	</div>
  </div>
</body>
</html>